#@layout() #define main()
<div class="card text-center" style="width:1200px;">
	<div class="card-header text-center">
		#if(prevId?? && prevId.toInt()>0) <a class="btn btn-primary"
			href="photo/detail/#(prevId)">上一个</a> #end #(photo.name??)
		#if(nextId?? && nextId.toInt()>0) <a class="btn btn-primary"
			href="photo/detail/#(nextId)">下一个</a> #end
	</div>
	<div class="card-body text-center p-2">
		<img style="margin: 10px auto;max-width:100%;" src="#(photo.url)" />
	</div>
</div>
#end
